home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 15 / CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso / CUCD / Graphics / Ghostscript / source / gscsel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-09  |  1.4 KB  |  38 lines

  1. /* Copyright (C) 1996 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17. */
  18.  
  19. /* gscsel.h */
  20. /* Definitions for color operand selection */
  21.  
  22. #ifndef gscsel_INCLUDED
  23. #  define gscsel_INCLUDED
  24.  
  25. /*
  26.  * Define whether we are mapping a "source" or a "texture" color for
  27.  * RasterOp.  Right the source and texture only have separate halftone
  28.  * phases in the graphics state, but someday they might have more.
  29.  */
  30. typedef enum {
  31.   gs_color_select_all = -1,    /* for setting only, not for reading */
  32.   gs_color_select_texture = 0,    /* 0 is the one is used for currenthtphase */
  33.   gs_color_select_source = 1
  34. } gs_color_select_t;
  35. #define gs_color_select_count 2
  36.  
  37. #endif                    /* gscsel_INCLUDED */
  38.